package com.fux.cn.controller;


import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.ResponseBody;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/fuxing")
public class Test001 {

    @RequestMapping(value = "/ticket22",method= RequestMethod.GET,produces = "application/json;charset=UTF-8")
    @ResponseBody
    public String selectTicket2() {
        return "[{\"creatDt\":1546849759203,\"expiryDt\":1549441759203,\"hasUsed\":\"0\",\"cardId\":\"731c868427984babb5772f4431102f94\",\"type\":1,\"priceOrDiscount\":0.8,\"msg\":\"新用户首单八折优惠\"}]\n";
    }
}
